
<%@page contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="EN" lang="EN" dir="ltr">
<head profile="http://gmpg.org/xfn/11">
<title>Reservation System</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="imagetoolbar" content="no" />
<link rel="stylesheet" href="styles/layout.css" type="text/css" />
<style type="text/css">
<!--
.hello {
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}
-->
</style>
</head>
<body id="top">
    <% String name = (String)session.getAttribute("name");
       if(name == null || "".equals(name)) { %>
        <div class="corner">a
            <p><a class="login" href="Registration.jsp">Log in</a> </p>
        </div>
       <% } else { %>
        <p class="login"> <span class="hello">Hello <%=session.getAttribute("name") %></span></p>
        <p><a class="logout" href="${pageContext.request.contextPath}/LoginServlet?logout=true">Log out</a></p>
        <% } %>
<div class="wrapper col1">
  <div id="head">
    <h1><a href="#">Sistem Reservasi Online - SiReRe -</a></h1>
    <p></p>
    <div id="topnav"> 
      <ul>
        <li><a class="active" href="index.jsp">Home</a></li>
        <% if(name != null && !"".equals(name)) { %>
        <li><a href="Reservation.jsp">Reservasi</a></li>
        <li><a href="${pageContext.request.contextPath}/MyProfile">Profil</a></li>
        <% } %>
      </ul>
    </div>
    
    
  </div>
    
</div>

    
<div class="wrapper col2">
  <div id="gallery">
    <ul>
      <li class="placeholder" style="background-image:url(images/1.jpg);">Image Holder</li> <br/> <br/>
      
    </ul>
    <div class="clear"></div>
  </div>
</div>
<div class="wrapper col4">
  <div id="container">
    <div id="content">
      
      <div class="homecontent">
        <ul>
          <li>
            <p class="imgholder">
              <% if(name != null && !"".equals(name)) { %>
              <a href="Reservation.jsp" > <img src="images/8.jpg" alt="" /> </a> 
              <% } else { %> 
              <a href="Registration.jsp" > <img src="images/8.jpg" alt="" /> </a> 
              <% }%>
            </p>

            
            <% if(name != null && !"".equals(name)) { %>
              <a href="Reservation.jsp" > Reservasi Sekarang! </a>
              <% } else { %>
              <a href="Registration.jsp" > Reservasi Sekarang! </a>
              <% }%>
            
          </li>
              <%-- <p class="imgholder"><img src="" alt="" /></p>
             
          </li>--%>
        </ul>
        <div class="clear"></div>
      </div>
      
    </div>
    <div id="column">
        <div id="featured"></div>
        <ul>
          
   
    
  

</body>

 
</html>
